package com.question.service;

import com.github.pagehelper.PageInfo;
import com.question.entity.Questions;

/**
 * @author cd
 * @version 1.0
 * @date 2021/10/7 18:06
 */
public interface QuestionsService {
    void insert(Questions questions);

    void update(Questions questions);

    void delete(Integer id);

    Questions findById(Integer id);

    PageInfo<Questions> findByClassId(Integer page, Integer rows, Integer ClassId);
}
